package online.sixfish.doubao;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;

@MapperScan("online.sixfish.doubao.mapper")
@MapperScan("online.sixfish.question.mapper")
@ComponentScan("online.sixfish")
@SpringBootApplication
public class FastACApplication extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(FastACApplication.class);
    }
    public static void main(String[] args) {
        SpringApplication.run(FastACApplication.class, args);
    }
}

